package com.itheima.tlias.service;

import com.itheima.tlias.dto.SelectDeptDTO;
import com.itheima.tlias.entity.Dept;
import com.itheima.tlias.po.InsertDeptParam;
import com.itheima.tlias.util.ResultUtil;

import java.util.List;

public interface DeptService {


    List<SelectDeptDTO> selectAll();

    int insertDept(InsertDeptParam param);

    int deleteById(Integer id);

    SelectDeptDTO selectById(Integer id);

    ResultUtil updateById(Dept dept);

    int batchDelete(List<Integer> ids);
}
